#include <iostream>
#include <string>

std::string & log_mini(std::string  &str) {
    std::cout << str << std::endl;
    return str;
}

int main(int argc, char *argv[]) {
    // log_excercise();
    std::string a = "Hello, World! wkx";
    std::string b = log_mini(a);
    std::cout << &a << std::endl;
    std::cout << &b << std::endl;
    log_mini(a) = "Hello, World! wkx changed";
    std::cout << b << std::endl;
    return 0;
}